<?php

use yii\db\Migration;

class m170727_064100_alert_card_re_send extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card_re_send}}', 'proportion', $this->smallInteger(2) . ' default 0 comment \'分成比例\'');
    }

    public function safeDown()
    {
        $this->dropColumn('{{%card_re_send}}', 'proportion');

    }
}
